package com.bazhua.bazo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling // 开启定时
@ComponentScan(value = "com.bazhua")
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, SecurityAutoConfiguration.class})
public class BazoApplication {

	public static void main(String[] args) {
		SpringApplication.run(BazoApplication.class, args);
		System.out.println("http://localhost:8088/swagger-ui/index.html");
	}

}
